﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace vbReturn.classes
{
    public static class clsConfig
    {
        
        private static string sStorer;

        public static string SStorer
        {
            get { return clsConfig.sStorer; }
            set { clsConfig.sStorer = value; }
        }
        
        private static string sProject;

        public static string SProject
        {
            set { clsConfig.sProject = value; }
        }


        private static string sEnvironment;

        public static string SEnvironment
        {
            set { clsConfig.sEnvironment = value; }
        }

   
        //-------------- Database ------------------

        private static string sTestMSSQL;

        public static string STestMSSQL
        {
            set { clsConfig.sTestMSSQL = value; }
        }


        private static string sLiveMSSQL;

        public static string SLiveMSSQL
        {
            set { clsConfig.sLiveMSSQL = value; }
        }

        private static string sMSSQLConnectionString;

        public static string SMSSQLConnectionString
        {
            get
            {
                if (clsConfig.sEnvironment.ToUpper() == "LIVE")
                {
                    return clsConfig.sLiveMSSQL;
                }
                return clsConfig.sTestMSSQL;
            }
        }

        private static string sTestOracle;

        public static string STestOracle
        {
            set { clsConfig.sTestOracle = value; }
        }

        private static string sLiveOracle;

        public static string SLiveOracle
        {
            set { clsConfig.sLiveOracle = value; }
        }

        private static string sOracleConnectionString;

        public static string SOracleConnectionString
        {
            get
            {
                if (clsConfig.sEnvironment.ToUpper() == "LIVE")
                {
                    return clsConfig.sLiveOracle;
                }
                return clsConfig.sTestOracle;
            }
        }

        //--------------Seeburger----------------
        
        private static string sSeeBurgerRGAPathLive;

        public static string SSeeBurgerRGAPathLive
        {
            set { clsConfig.sSeeBurgerRGAPathLive = value; }
        }

        private static string sSeeBurgerIDLive;

        public static string SSeeBurgerIDLive
        {
            set { clsConfig.sSeeBurgerIDLive = value; }
        }

        private static string sSeeBurgerPasswordLive;

        public static string SSeeBurgerPasswordLive
        {
            set { clsConfig.sSeeBurgerPasswordLive = value; }
        }

        private static string sSeeBurgerDomainLive;

        public static string SSeeBurgerDomainLive
        {
            set { clsConfig.sSeeBurgerDomainLive = value; }
        }

        //---
        private static string sSeeBurgerRGAPathTest;

        public static string SSeeBurgerRGAPathTest
        {
            set { clsConfig.sSeeBurgerRGAPathTest = value; }
        }

        private static string sSeeBurgerIDTest;

        public static string SSeeBurgerIDTest
        {
            set { clsConfig.sSeeBurgerIDTest = value; }
        }

        private static string sSeeBurgerPasswordTest;

        public static string SSeeBurgerPasswordTest
        {
            set { clsConfig.sSeeBurgerPasswordTest = value; }
        }

        private static string sSeeBurgerDomainTest;

        public static string SSeeBurgerDomainTest
        {
            set { clsConfig.sSeeBurgerDomainTest = value; }
        }

        //--------
        private static string sSeeBurgerRGAPath;

        public static string SSeeBurgerRGAPath
        {
            get
            {
                if (clsConfig.sEnvironment.ToUpper() == "LIVE")
                {
                    return clsConfig.sSeeBurgerRGAPathLive;
                }
                return clsConfig.sSeeBurgerRGAPathTest;
            }

        }

        private static string sSeeBurgerID;

        public static string SSeeBurgerID
        {
            get
            {
                if (clsConfig.sEnvironment.ToUpper() == "LIVE")
                {
                    return clsConfig.sSeeBurgerIDLive;
                }
                return clsConfig.sSeeBurgerIDTest;
            }
        }

        private static string sSeeBurgerPassword;

        public static string SSeeBurgerPassword
        {
            get
            {
                if (clsConfig.sEnvironment.ToUpper() == "LIVE")
                {
                    return clsConfig.sSeeBurgerPasswordLive;
                }
                return clsConfig.sSeeBurgerPasswordTest;
            }
        }

        private static string sSeeBurgerDomain;

        public static string SSeeBurgerDomain
        {
            get
            {
                if (clsConfig.sEnvironment.ToUpper() == "LIVE")
                {
                    return clsConfig.sSeeBurgerDomainLive;
                }
                return clsConfig.sSeeBurgerDomainTest;
            }
        }

        //------
     

        //--------------Seeburger End----------------
        
        //---------------
        private static bool bDeleteRGAExcelFile;

        public static bool BDeleteRGAExcelFile
        {
            get { return clsConfig.bDeleteRGAExcelFile; }
            set { clsConfig.bDeleteRGAExcelFile = value; }
        }

    }
}
